package cn.tedu.egweibo0416.base.response;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum StatusCode {
    NOT_LOGIN(1000, "未登录"),
    USERNAME_PASSWORD_ERROR(1001, "用户名或密码错误"),
    VALIDATED_ERROR(6000, "参数校验失败"),
    OPERATION_SUCCESS(2001, "操作成功"),
    USERNAME_EXIST(1002,"用户名被占用"),
    OPERATION_FAILED(2002,"操作失败");
    private Integer state;
    private String message;

}
